#ifndef GLSCENE_H
#define GLSCENE_H

#include "GLObject.h"
#include "GLCamera.h"

struct GLPickedObject
{
    GLObject* object;
    float z;
};


class GLScene : public GLObject
{
public:
    GLScene() : GLObject(NULL) { }
    virtual ~GLScene() { }

    void renderScene(GLCamera& cam, int flags = 0);
    int pickSceneObjectId(GLCamera& cam, int x, int y, float sense);

private:
    std::list<GLPickedObject> pickedObjects;
};


#endif // GLSCENE_H
